<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        section {
            width: 1300px;
            max-width: 1200px;
            min-width: 500px;
            margin: 0 auto;
        }
        
        section div {
            width: 20%;
            height: 200px;
            /* float: left; */
            text-align: center;
            line-height: 200px;
        }
        
        section div:nth-child(1) {
            background-color: skyblue;
        }
        
        section div:nth-child(2) {
            background-color: red;
        }
        
        section div:nth-child(3) {
            background-color: purple;
        }
        
        section div:nth-child(4) {
            background-color: yellow;
        }
        
        section div:nth-child(5) {
            background-color: orange;
        }
    </style>
</head>


<body>
    <section>
        <div>2</div>
        <div>2</div>
        <div>2</div>
        <div>2</div>
        <div>2</div>
    </section>
</body>

</html>